#ifndef __SCHOOLBATTLE_H__
#define __SCHOOLBATTLE_H__

#include "Player.h"
#include "AIPlayer.h"
#include <stdio.h>
#include <time.h>
#include <stdlib.h>

class SchoolBattle
{
public:
	SchoolBattle();
	void Init();

	void Update();
	void Render();

	int GetCurrentDay();
	void NextDay();
	int GetDayTime();
	void NextDayTime();
	void CreatePlayer(core::stringw name, int mainAttrib, int rank);
	void GenerateAIPlayer(core::stringw aiName, int mainAttrib, int rank);
	Player* GetPlayer();
	AIPlayer* GetEnemyPlayer();
	void Reset();

private:	
	void Attack(Player* pAttack, Player* pReceive);

	int m_CurrentDay;
	int m_CurrentDayTime;

	Player* m_Player;
	AIPlayer* m_AIPlayer;
};

#endif